// vite.config.ts
import { defineConfig } from "file:///C:/Users/Administrator/Desktop/JZ/baiyin-cloud/WebUI/baiYinYun/node_modules/.pnpm/vite@5.0.12_@types+node@20.11.16_sass@1.70.0/node_modules/vite/dist/node/index.js";
import vue from "file:///C:/Users/Administrator/Desktop/JZ/baiyin-cloud/WebUI/baiYinYun/node_modules/.pnpm/@vitejs+plugin-vue@4.6.2_vite@5.0.12_vue@3.4.15/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import Components from "file:///C:/Users/Administrator/Desktop/JZ/baiyin-cloud/WebUI/baiYinYun/node_modules/.pnpm/unplugin-vue-components@0.26.0_vue@3.4.15/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///C:/Users/Administrator/Desktop/JZ/baiyin-cloud/WebUI/baiYinYun/node_modules/.pnpm/unplugin-vue-components@0.26.0_vue@3.4.15/node_modules/unplugin-vue-components/dist/resolvers.js";
import path from "path";
var vite_config_default = defineConfig({
  /*build: {
    rollupOptions: {
      input: {
        index: path.resolve(__dirname, 'index1.html'),
      },
    },
  },*/
  plugins: [
    vue(),
    Components({
      resolvers: [
        ElementPlusResolver({
          importStyle: "sass"
          // directives: true,
          // version: "2.1.5",
        })
      ]
    })
  ],
  css: {
    preprocessorOptions: {
      scss: {
        additionalData: '@use "@/styles/element.scss" as *; @use "@/styles/variable.scss" as *;'
        //引入多个
      }
    }
  },
  resolve: {
    alias: {
      "@": path.resolve("./src")
      // 相对路径别名配置，使用 @ 代替 src
    }
  },
  server: {
    proxy: {
      "/devApi/file": {
        target: "http://122.51.80.75",
        // 目标服务器地址
        changeOrigin: true,
        // 支持跨域
        rewrite: (path2) => path2.replace(/^\/devApi/, "")
        // 重写路径
      },
      "/devApi": {
        target: "http://122.51.80.75:40001",
        // 目标服务器地址
        changeOrigin: true,
        // 支持跨域
        rewrite: (path2) => path2.replace(/^\/devApi/, "")
        // 重写路径
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,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